<#import "/ftl/mainAdmin.ftl" as page>

<@page.mainTemplate styleSheet="dataAuthCss" jsFile="dataAuthJs" current="数据申请">
    <div class="page-content">
        <!-- BEGIN PAGE HEAD-->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
                <div class="page-title">
                    <h1>数据权限申请
                        <small>新增申请页面</small>
                    </h1>

                </div>
            <!-- END PAGE TITLE -->
        </div>
        <!-- END PAGE HEAD -->
        <!-- BEGIN PAGE BREADCRUMB -->
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <a href="${context}/base/index_ftl">首页</a>
                <i class="fa fa-circle"></i>
            </li>
            <li>
                <span class="active">新增申请信息</span>
            </li>
        </ul>
        <!-- END PAGE BREADCRUMB -->
        <!-- BEGIN PAGE BASE CONTENT -->
        <div class="portlet light bordered">
            <div class="portlet-body form">
                <form class="createform" role="form" action="javascript:;" method="POST" id="applyForm">
                    <div class="form-body">
                        <div class="alert alert-danger display-hide">
                            <button class="close" data-close="alert"></button> 表单含有错误. 请检查. 
                        </div>
                        <div class="alert alert-success display-hide">
                            <button class="close" data-close="alert"></button> 表单验证通过! 
                        </div>
                        <div class="row">
                            <div class="col-md-6">
		                        <div class="form-group">
				                    <div class="input-group">
				                        <label class="input-group-addon">功能</label>
				                        <div class="input-group-content">
				                            <select name="authority_path" class="form-control input-inline">
				                               <option value="EXPORT_BANK_ACCOUNT_NO">用户数据导出</option> 
                                    		   <option value="EXPORT_BATCH_TRANSFER">一分钱测试导出</option>
											</select>
				                        </div>
				                    </div>
				                </div>
				            </div>
				        </div>
				        <div class="row">
                            <div class="col-md-6">
		                        <div class="form-group">
				                    <div class="input-group">
				                        <label class="input-group-addon">权限次数</label>
				                        <div class="input-group-content">
				                            <input type="text" id="function_name" name="authority_num" 
				                            class="form-control" placeholder="请输入申请权限使用次数" value="1" />
				                        </div>
				                    </div>
				                </div>
				            </div>
				        </div>
				        <div class="row">
                            <div class="col-md-6">
		                        <div class="form-group">
				                    <div class="input-group">
				                        <label class="input-group-addon">公司</label>
				                        <div class="input-group-content">
                                                    <select class="form-control input-inline" placeholder="★请输入所属公司" id="comID" name="auth_value" >
					                                    	 
					                                </select>
				                                </div>
				                    </div>
				                </div>
				            </div>
				        </div>
				        <div class="row">
				        	<div class="col-md-6">
				                <div class="form-group">
				                    <div class="input-group">
				                        <label class="input-group-addon">备注</label>
				                        <div class="input-group-content">
				                            <input type="text" id="remark" name="remark" class="form-control" placeholder="备注" 
				                            value="" />
				                        </div>
				                    </div>
				                </div>
				            </div>
				        </div>
		                <div class="form-actions top">
		                    <div class="row col-md-4 col-xs-4 col-md-offset-5">
		                        <button type="submit" id="btnSubmit" class="btn green">保存</button>
                                <a href="${context}/dataAuth/view_auth_page" class="btn default">返回</a>
		                    </div>
		                </div>
		            </div>
                </form>
            </div>
        </div>
        <!-- END PAGE BASE CONTENT -->
    </div>
</@page.mainTemplate>